import { combineReducers } from 'redux'

//导入拆分出去的每个子reducer
import { loginReducer } from "./reducers/loginReducer";
import { countReducer } from "./reducers/countReducer";

//合并成一个根reducer , 导出
export var rootReducer = combineReducers({
    loginData: loginReducer,
    count: countReducer
})